projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d74197
)
Fix gtk_tool_item_get_text_size_group return value
author
Matthias Clasen
<mclasen@redhat.com>
Mon, 14 Dec 2009 01:32:46 +0000
(20:32 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Mon, 14 Dec 2009 01:32:46 +0000
(20:32 -0500)
Reported by Kazuki Iwamoto in bug 604462.
gtk/gtktoolitem.c
patch
|
blob
|
history
diff --git
a/gtk/gtktoolitem.c
b/gtk/gtktoolitem.c
index 73b930ff8c0918399b9f9decd75cac75ae4d0843..5ad31cce4b14d1001ee5bbf9f694c3ef328b6f73 100644
(file)
--- a/
gtk/gtktoolitem.c
+++ b/
gtk/gtktoolitem.c
@@
-924,7
+924,7
@@
gtk_tool_item_get_text_size_group (GtkToolItem *tool_item)
{
GtkWidget *parent;
- g_return_val_if_fail (GTK_IS_TOOL_ITEM (tool_item),
GTK_ORIENTATION_HORIZONTA
L);
+ g_return_val_if_fail (GTK_IS_TOOL_ITEM (tool_item),
NUL
L);
parent = GTK_WIDGET (tool_item)->parent;
if (!parent || !GTK_IS_TOOL_SHELL (parent))